package cn.monkey.io.transport.core;

import java.util.function.BiConsumer;

@FunctionalInterface
public interface ExchangeDestroyHook<T extends Exchange> extends BiConsumer<T, Object> {
    @Override
    void accept(T t, Object event);
}
